package study01;

/**
* @author GZQ
* @Date 2023/11/5
 */

//打印信息
public class PrintMessage {
    public static void main(String[] args) {
        float width = 6.98f;
        float area = 99.465f;
        double pi = 3.14159265677688;
        int studentAge = 19;
        String teacherGender = "‘M’ " + "或者" + " ‘W’";
        int teacherId = 110;
        double saveMoney = 350500.56;
        String memoryValue = "320 * 1024";
        System.out.println("矩形宽: " + width);
        System.out.println("矩形面积: "+ area);
        System.out.println("圆周率: " + pi);
        System.out.println("学生年龄: " + studentAge);
        System.out.println("教师性别: " + teacherGender);
        System.out.println("教师工号: " + teacherId);
        System.out.println("存款金额: " + saveMoney);
        System.out.println("内存值: " + memoryValue + "    (320G)");
        System.out.println("[考试]是否通过 ‘P’ 或 ‘N’");
    }
}
